<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>pre</title>
</head>
<body>
    <pre>
        public class Bdoh {
            public static void main(String[] args) {
                int binaryNum = 0b110;
                int decimalNum = 110;
                int octalNum = 0127;
                //octalNum = 0128;
                int hexNum = 0x110A;
        
                System.out.println("binaryNum = " + binaryNum);
                System.out.println("decimalNum = " + decimalNum);
                System.out.println("octalNum = " + octalNum);
                System.out.println("hexNum = " + hexNum);
            }
        } 
    </pre>
</body>
</html>